<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="content-type" content="txt/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width">
    <title>DD373游戏交易平台-注册页面</title>
    <link rel="shortcut icon" href="../imgs/register/favicon.ico">
    <link href="//sta.dd373.com/file/general/Css/common.css" rel="stylesheet" type="text/css">
    <link href="//sta.dd373.com/file/passport/Css/new_Login.css" rel="stylesheet" type="text/css">

</head>
<body>
<header>
    <div class="login_top">
        <a class="" href="//www.dd373.com/" target="_blank"><img
                src="../imgs/register/rgt_icon.jpg"></a>
        <div class="lg_tip">
            <a>我已注册，现在就</a><a class="login_now" href="/Login.shtml" target="_blank">登录</a>
        </div>
    </div>
</header>


<script src="../js/register/hm.js"></script>
<script src="../js/register/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="../js/register/jquery.mailAutoComplete-3.0.js" type="text/javascript"></script>
<script src="../js/register/NVerify.js" type="text/javascript"></script>
<script src="../js/register/new_reg.js" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {

        /*---------------增加-------------------*/
        var type = "";
        var strmreferral = "";
        if (type == "y") {
            $('#yhm').click();
        } else {
            $("input:radio[name='RegType']").eq(0).attr("checked", 'checked');
        }
        if (strmreferral != "") {
            $("input:radio[name='PRecommend']").eq(1).attr("checked", 'checked');
            $("input:radio[name='Recommend']").eq(1).attr("checked", 'checked');
        } else {
            if ("" != "") {
                $("input:radio[name='Recommend']").eq(1).attr("checked", 'checked');
            }
            if ("" != "") {
                $("input:radio[name='PRecommend']").eq(1).attr("checked", 'checked');
            }
        }

        $("#M_Referral").blur(function () {
            if ($(this).val() != "") {
                if (!($("input:radio[name='Recommend']").eq(1).is(":checked"))) {
                    $("input:radio[name='Recommend']").eq(1).attr("checked", 'checked');
                }
            }
        })
        $("#MP_Referral").blur(function () {
            if ($(this).val() != "") {
                if (!($("input:radio[name='PRecommend']").eq(1).is(":checked"))) {
                    $("input:radio[name='PRecommend']").eq(1).attr("checked", 'checked');
                }
            }
        })
    });
</script>
<article class="artc">
    <div class="register_flow">



    </div>
    <div class="register_content">
        <div class="rgst_info">
            <form method="post" id="RegisterForm" >
                <input id="P" name="P" type="hidden" value="C">
                <p>
                    <label class="label"><span class="star">*</span>学号：</label>
                    <input class="info_ipt loginnames" id="M_Name" name="M_Name" type="text">
                    <img class="usable" align="absmiddle" src="../imgs/register/usable.jpg">
                </p>
                <p class="rgst_tip" id="megname">4到20个字符，可带数字和下划线。</p>
                <p>
                    <label class="label"><span class="star">*</span>请设置密码：</label>
                    <input class="info_ipt pwd" ype="password" id="M_Pwd" name="M_Pwd">
                    <img class="usable" align="absmiddle"  src="../imgs/register/usable.jpg">
                </p>
                <p class="rgst_tip">6-20个字符，建议使用字母，数字或符号组合。</p>
                <p class="safety_rate" id="SafeDegree" style="display:none;">安全程度：
                    <span id="safe_d" class="current">低</span>
                    <span id="safe_m">中</span>
                    <span id="safe_h">高</span>
                </p>
                <p>
                    <label class="label"><span class="star">*</span>请确认密码：</label>
                    <input id="RM_Pwd" name="RM_Pwd" class="info_ipt pwd" type="password">
                    <img class="usable" align="absmiddle" src="../imgs/register/usable.jpg">
                </p>
                <p>
                    <label class="label">邀请码：</label>
                    <input name="M_Referral" id="M_Referral" class="info_ipt" type="text" value="" placeholder="输入邀请码免认证">
                    <img class="usable" align="absmiddle" src="../imgs/register/usable.jpg">
                </p>
                <p class="agreement" hidden = “hidden”>
                    <label>
                        <input name="ISDN" id="ISDN" type="checkbox" checked = "checked">
                        <a  href="" target="_blank"></a>
                    </label>
                </p>
                    <a class="next_btn" id="Register">注&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;册</a>
                <div id="divmsg" style="color:red;text-align:center;"></div>
            </form>
        </div>

    </div>
</article>

<div class="mainfoot">
    <div class="foot left">

        <div class="nav"><a href="//about.dd373.com/" title="新乡市嘟嘟网络技术有限公司" target="_blank">关于我们</a>&nbsp;&nbsp;| <a
                href="//about.dd373.com/Default/NewInfoList?ClassID=957dd23ee8ce424ba0a05d54eb370424"
                title="新乡市嘟嘟网络技术有限公司" target="_blank">联系我们</a>&nbsp;&nbsp;| <a href="#" id="top">返回顶部</a></div>
        <div class="shangbiao"><span>Copyright © 20XX-20XX&nbsp;&nbsp;<a href="" target="_blank">XXXXX有限公司（www.XXXX.com）</a>&nbsp;&nbsp;&nbsp;</span>
        </div>
    </div>
    <div class="di-ICON">
        <div class="iconkuang">
            <ul>
                <li class="xian"><a
                        href="http://sq.ccm.gov.cn/ccnt/sczr/service/business/emark/toDetail/92EFD34EEC9843F986C5166E32C2C1D6"
                        target="_blank" rel="nofollow"><img src="../imgs/register/gameRFID.png"
                                                            alt="互联网文化经营单位"></a></li>
                <li class="xian"><a href="https://www.xxgaw.gov.cn/" target="_blank" rel="nofollow"><img
                        src="../imgs/register/di-ICON1.jpg" alt="新乡市公安局信息网络安全报警网站"></a></li>
                <li class="xian"><a
                        href="https://ss.knet.cn/verifyseal.dll?sn=e13092911010042696ahvg000000&amp;comefrom=trust&amp;trustKey=dn&amp;trustValue=www.dd373.com"
                        target="_blank" rel="nofollow"><img src="../imgs/register/cnnic.png" alt="可信认证"></a>
                </li>
                <li class="xian"><a href="http://webscan.360.cn/index/checkwebsite?url=www.dd373.com" target="_blank"
                                    rel="nofollow"><img src="../imgs/register/di-ICON4.jpg"
                                                        alt="360检测中心"></a></li>

            </ul>
        </div>
    </div>
</div>
<script src="../js/register/wwwbaidu.js" type="text/javascript"></script>
<script type="text/javascript">


    $('#Register').click(function () {
        var Yqcode = $('#M_Referral').val();

        if(Yqcode == ''|| Yqcode == null){
            Yqcode = '0'
        }
        $.ajax({

            dataType:'json',
            url:'/user/register/' +  $('#M_Name').val() + '/' + $('#M_Pwd').val() + '/' + Yqcode,
            success:function (data) {
                if(data.status == 'success'){
                    alert('注册成功');
                    //location
                }else if(data.status == 'wait'){
                    alert('等待老师认证');
                }else if(data.status == 'error'){
                    alert('邀请码错误');
                }
            }


        });
    });

</script>

</body>
</html>